<!doctype html>
<html lang="en">
  <head>
    <title>ALK-BLE</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>

    <link href="https://unpkg.com/bootstrap-table@1.15.4/dist/bootstrap-table.min.css" rel="stylesheet">
    <script src="https://unpkg.com/bootstrap-table@1.15.4/dist/bootstrap-table.min.js"></script>
    <script src="alk-ble.js"></script>
    <!-- <script type="text/javascript">
      $(document).ready(function(){
        var userName="xiaoming";
        alert(userName);
        discover();
      });
    </script> -->
  </head>
  <body>
    <div align="center">
      <div style="width:600px; align:center">
        <h1>Web Bluetooth</h1>
        <hr>
        <button id="discover" type="button" class="btn btn-default">DISCOVER</button>
        <hr>
        <table id="table" class="display">设备列表</table>
        <hr>
        <pre id="log" style="position:absolute; height:600px; width:600px; overflow:auto"> 操作日志 </pre>
      </div>
    </div>
  </body>

</html>
